package com.ossjk.qlh.order.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import com.ossjk.qlh.order.entity.OrderTc;
import com.ossjk.qlh.order.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;


/**
 * 当前订单
 *
 * @author liuxi
 * @since 2020-08-14
 */
@ApiModel(value = "当前订单")
public class CurrentOrderVo extends BaseEntity<CurrentOrderVo> {

    private static final long serialVersionUID = 1L;
    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    @TableField("eid")
    private String eid;

    /**
     * 企业类型
     */
    @ApiModelProperty(value = "企业类型")
    @TableField("type")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /**
     * 实际配送费
     */
    @ApiModelProperty(value = "实际配送费")
    @TableField("sendact")
    private String sendact;



    /**
     * 公司地址
     */
    @ApiModelProperty(value = "公司地址")
    @TableField("eaddrs")
    private String eaddrs;


    /**
     * 订单项[套餐表达式id]
     */
    @ApiModelProperty(value = "订单项[套餐表达式id]")
    @TableField("exptxt")
    private List<OrderTc> exptxt;


    /**
     * 接单时间
     */
    @DateTimeFormat(pattern = "HH:mm")
    @JSONField(format = "HH:mm")
    @ApiModelProperty(value = "接单时间")
    @TableField("jdtm")
    private String jdtm;


    /**
     * 新订单
     */
    @ApiModelProperty(value = "新订单")
    @TableField("neworder")
    private String neworder;
    /**
     * 已接单
     */
    @ApiModelProperty(value = "已接单")
    @TableField("jieorder")
    private String jieorder;
    /**
     * 已送出
     */
    @ApiModelProperty(value = "已送出")
    @TableField("songorder")
    private String songorder;
    /**
     * 已拒单
     */
    @ApiModelProperty(value = "已拒单")
    @TableField("juorder")
    private String juorder;
    /**
     * 送出金额
     */
    @ApiModelProperty(value = "送出金额")
    @TableField("scje")
    private String scje;

    /**
     * 接单金额
     */
    @ApiModelProperty(value = "接单金额")
    @TableField("jdje")
    private String jdje;


    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getSendact() {
        return sendact;
    }

    public void setSendact(String sendact) {
        this.sendact = sendact;
    }
    public String getEaddrs() {
        return eaddrs;
    }

    public void setEaddrs(String eaddrs) {
        this.eaddrs = eaddrs;
    }

    public String getJdtm() {
        return jdtm;
    }

    public void setJdtm(String jdtm) {
        this.jdtm = jdtm;
    }


    public String getNeworder() {
        return neworder;
    }

    public void setNeworder(String neworder) {
        this.neworder = neworder;
    }

    public String getJieorder() {
        return jieorder;
    }

    public void setJieorder(String jieorder) {
        this.jieorder = jieorder;
    }

    public String getSongorder() {
        return songorder;
    }

    public void setSongorder(String songorder) {
        this.songorder = songorder;
    }

    public String getJuorder() {
        return juorder;
    }

    public void setJuorder(String juorder) {
        this.juorder = juorder;
    }


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<OrderTc> getExptxt() {
        return exptxt;
    }

    public void setExptxt(List<OrderTc> exptxt) {
        this.exptxt = exptxt;
    }

    public String getScje() {
        return scje;
    }

    public void setScje(String scje) {
        this.scje = scje;
    }

    public String getJdje() {
        return jdje;
    }

    public void setJdje(String jdje) {
        this.jdje = jdje;
    }

    @Override
    public String toString() {
        return "CurrentOrderVo{" +
                "eid='" + eid + '\'' +
                ", sendact='" + sendact + '\'' +
                ", eaddrs='" + eaddrs + '\'' +
                ", exptxt=" + exptxt +
                ", jdtm='" + jdtm + '\'' +
                ", neworder='" + neworder + '\'' +
                ", jieorder='" + jieorder + '\'' +
                ", songorder='" + songorder + '\'' +
                ", juorder='" + juorder + '\'' +
                ", scje='" + scje + '\'' +
                ", jdje='" + jdje + '\'' +
                '}';
    }
}
